20.2 Obtaining the functions of state